<HTML>
<HEAD>
<meta charset="UTF-8">
<title>MediaDevice - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.device</a>&nbsp;/&nbsp;<a href="./index.html">MediaDevice</a><br/>
<br/>
<h1>MediaDevice</h1>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">MediaDevice</span></code>
<p>Media device with its info.</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
</td>
<td>
<p>Media device with its info.</p>
<code><span class="identifier">MediaDevice</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice$<init>(kotlin.String, com.amazonaws.services.chime.sdk.meetings.device.MediaDeviceType, kotlin.String)/label">label</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice$<init>(kotlin.String, com.amazonaws.services.chime.sdk.meetings.device.MediaDeviceType, kotlin.String)/type">type</span><span class="symbol">:</span>&nbsp;<a href="../-media-device-type/index.html"><span class="identifier">MediaDeviceType</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice$<init>(kotlin.String, com.amazonaws.services.chime.sdk.meetings.device.MediaDeviceType, kotlin.String)/id">id</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="id.html">id</a></h4>
</td>
<td>
<p>: String - Unique ID, if applicable</p>
<code><span class="keyword">val </span><span class="identifier">id</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<h4><a href="label.html">label</a></h4>
</td>
<td>
<p>: String - human readable string describing the device.</p>
<code><span class="keyword">val </span><span class="identifier">label</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="order.html">order</a></h4>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">order</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="type.html">type</a></h4>
</td>
<td>
<p>: <a href="../-media-device-type/index.html">MediaDeviceType</a> - media device type</p>
<code><span class="keyword">val </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-media-device-type/index.html"><span class="identifier">MediaDeviceType</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="to-string.html">toString</a></h4>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Companion Object Functions</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="list-supported-video-capture-formats.html">listSupportedVideoCaptureFormats</a></h4>
</td>
<td>
<p>Lists currently available video devices.</p>
<code><span class="keyword">fun </span><span class="identifier">listSupportedVideoCaptureFormats</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice.Companion$listSupportedVideoCaptureFormats(android.hardware.camera2.CameraManager, com.amazonaws.services.chime.sdk.meetings.device.MediaDevice, kotlin.Int, kotlin.Int, kotlin.Int)/cameraManager">cameraManager</span><span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/hardware/camera2/CameraManager.html"><span class="identifier">CameraManager</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice.Companion$listSupportedVideoCaptureFormats(android.hardware.camera2.CameraManager, com.amazonaws.services.chime.sdk.meetings.device.MediaDevice, kotlin.Int, kotlin.Int, kotlin.Int)/mediaDevice">mediaDevice</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">MediaDevice</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice.Companion$listSupportedVideoCaptureFormats(android.hardware.camera2.CameraManager, com.amazonaws.services.chime.sdk.meetings.device.MediaDevice, kotlin.Int, kotlin.Int, kotlin.Int)/maxVideoFps">maxVideoFps</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;DEFAULT_MAX_VIDEO_FORMAT_FPS<span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice.Companion$listSupportedVideoCaptureFormats(android.hardware.camera2.CameraManager, com.amazonaws.services.chime.sdk.meetings.device.MediaDevice, kotlin.Int, kotlin.Int, kotlin.Int)/maxVideoWidth">maxVideoWidth</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;DEFAULT_MAX_VIDEO_WIDTH<span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice.Companion$listSupportedVideoCaptureFormats(android.hardware.camera2.CameraManager, com.amazonaws.services.chime.sdk.meetings.device.MediaDevice, kotlin.Int, kotlin.Int, kotlin.Int)/maxVideoHeight">maxVideoHeight</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;DEFAULT_MAX_VIDEO_HEIGHT<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture/-video-capture-format/index.html"><span class="identifier">VideoCaptureFormat</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<h4><a href="list-video-devices.html">listVideoDevices</a></h4>
</td>
<td>
<p>Lists currently available video devices.</p>
<code><span class="keyword">fun </span><span class="identifier">listVideoDevices</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.MediaDevice.Companion$listVideoDevices(android.hardware.camera2.CameraManager)/cameraManager">cameraManager</span><span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/hardware/camera2/CameraManager.html"><span class="identifier">CameraManager</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="./index.html"><span class="identifier">MediaDevice</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
